home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGEllipseElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  128 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGEllipseElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGEllipseElement_h__
  6. #define __gen_nsIDOMSVGEllipseElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedLength; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGEllipseElement */
  21. #define NS_IDOMSVGELLIPSEELEMENT_IID_STR "5d1cd1e6-4a14-4056-acc0-2f78c1672898"
  22.  
  23. #define NS_IDOMSVGELLIPSEELEMENT_IID \
  24.   {0x5d1cd1e6, 0x4a14, 0x4056, \
  25.     { 0xac, 0xc0, 0x2f, 0x78, 0xc1, 0x67, 0x28, 0x98 }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGEllipseElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGELLIPSEELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedLength cx; */
  33.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx) = 0;
  34.  
  35.   /* readonly attribute nsIDOMSVGAnimatedLength cy; */
  36.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy) = 0;
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedLength rx; */
  39.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) = 0;
  40.  
  41.   /* readonly attribute nsIDOMSVGAnimatedLength ry; */
  42.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) = 0;
  43.  
  44. };
  45.  
  46. /* Use this macro when declaring classes that implement this interface. */
  47. #define NS_DECL_NSIDOMSVGELLIPSEELEMENT \
  48.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx); \
  49.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy); \
  50.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx); \
  51.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMSVGELLIPSEELEMENT(_to) \
  55.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx) { return _to GetCx(aCx); } \
  56.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy) { return _to GetCy(aCy); } \
  57.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) { return _to GetRx(aRx); } \
  58.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) { return _to GetRy(aRy); } 
  59.  
  60. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  61. #define NS_FORWARD_SAFE_NSIDOMSVGELLIPSEELEMENT(_to) \
  62.   NS_IMETHOD GetCx(nsIDOMSVGAnimatedLength * *aCx) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCx(aCx); } \
  63.   NS_IMETHOD GetCy(nsIDOMSVGAnimatedLength * *aCy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCy(aCy); } \
  64.   NS_IMETHOD GetRx(nsIDOMSVGAnimatedLength * *aRx) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRx(aRx); } \
  65.   NS_IMETHOD GetRy(nsIDOMSVGAnimatedLength * *aRy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRy(aRy); } 
  66.  
  67. #if 0
  68. /* Use the code below as a template for the implementation class for this interface. */
  69.  
  70. /* Header file */
  71. class nsDOMSVGEllipseElement : public nsIDOMSVGEllipseElement
  72. {
  73. public:
  74.   NS_DECL_ISUPPORTS
  75.   NS_DECL_NSIDOMSVGELLIPSEELEMENT
  76.  
  77.   nsDOMSVGEllipseElement();
  78.  
  79. private:
  80.   ~nsDOMSVGEllipseElement();
  81.  
  82. protected:
  83.   /* additional members */
  84. };
  85.  
  86. /* Implementation file */
  87. NS_IMPL_ISUPPORTS1(nsDOMSVGEllipseElement, nsIDOMSVGEllipseElement)
  88.  
  89. nsDOMSVGEllipseElement::nsDOMSVGEllipseElement()
  90. {
  91.   /* member initializers and constructor code */
  92. }
  93.  
  94. nsDOMSVGEllipseElement::~nsDOMSVGEllipseElement()
  95. {
  96.   /* destructor code */
  97. }
  98.  
  99. /* readonly attribute nsIDOMSVGAnimatedLength cx; */
  100. NS_IMETHODIMP nsDOMSVGEllipseElement::GetCx(nsIDOMSVGAnimatedLength * *aCx)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* readonly attribute nsIDOMSVGAnimatedLength cy; */
  106. NS_IMETHODIMP nsDOMSVGEllipseElement::GetCy(nsIDOMSVGAnimatedLength * *aCy)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* readonly attribute nsIDOMSVGAnimatedLength rx; */
  112. NS_IMETHODIMP nsDOMSVGEllipseElement::GetRx(nsIDOMSVGAnimatedLength * *aRx)
  113. {
  114.     return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116.  
  117. /* readonly attribute nsIDOMSVGAnimatedLength ry; */
  118. NS_IMETHODIMP nsDOMSVGEllipseElement::GetRy(nsIDOMSVGAnimatedLength * *aRy)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* End of implementation class template. */
  124. #endif
  125.  
  126.  
  127. #endif /* __gen_nsIDOMSVGEllipseElement_h__ */
  128.